package skins
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	
	import qnx.ui.skins.*;
	
	
	public class NavigatorSkin extends BaseSkin
	{
		public function NavigatorSkin()
		{
			super();
			
			var btn:Bitmap = new Assets.NavigatorButtonSelected();
			var blank:Sprite = new Sprite();
			var hit:Sprite = new Sprite();
			hit.graphics.beginFill(0xff0000);
			//hit.graphics.drawRoundRect(0, 0, btn.width, btn.height, btn.width, btn.height);
			hit.graphics.drawRect(0,0,btn.width,btn.height);
			hit.visible = false;
			blank.addChild(hit);
			blank.hitArea = hit;
			
			setSkinState(SkinStates.UP, blank);
			setSkinState(SkinStates.SELECTED, btn);
			setSkinState(SkinStates.DISABLED, blank);
			setSkinState(SkinStates.DOWN, blank);
		}
	}
}